package com.example.android_three.mvp.presenter

import com.example.android_three.mvp.control.LreControl
import com.example.android_three.wieget.Constant
import com.jess.arms.di.scope.ActivityScope
import com.jess.arms.mvp.BasePresenter
import javax.inject.Inject

@ActivityScope
class LrePresenter : BasePresenter<LreControl.LreControlModel, LreControl.LreControlView>() {

    @Inject
    fun LrePresenter(model : LreControl.LreControlModel, view : LreControl.LreControlView) {
        super.mModel = model
        super.mRootView = view
    }

    fun postList(parm : String , constant : Constant) {

        mModel.loadingList( parm, constant)
    }

}